<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path;
%>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>AdminLTE | Data Tables</title>

    <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>

     <!-- start分页需要使用以下三个js -->
    <script type="text/javascript" src="<%=basePath%>/js/jquery-1.8.2.js"></script>
    <script type="text/javascript" src="<%=basePath%>/js/admin/utils.js"></script>
    <script type="text/javascript" src="<%=basePath%>/js/base/listtable.js"></script>
    <!-- end分页需要使用以上三个js -->
</head>
<body class="skin-blue">
<!-- header logo: style can be found in header.less -->

  
<!-- getHeader -->
<s:action name="getHeader" namespace="/privilege" executeResult="true"/>
<div class="wrapper row-offcanvas row-offcanvas-left">
    <!-- Left side column. contains the logo and sidebar -->

    <!-- getMenus -->
    <s:action name="getMenus" namespace="/privilege" executeResult="true"/>

    <!-- Right side column. Contains the navbar and content of the page -->
    <aside class="right-side">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                <small>用户管理-患者</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                <li><a href="#">Tables</a></li>
                <li class="active">Data tables</li>
            </ol>
        </section>

        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-xs-12">
                    <div class="box">

                        <div class="box">

                            <div class="box-body">

                                <form action="javascript:searchUser();" class="" name="searchForm">
                                
                        
                                 <div class="row"  align="center">

										<div class="col-md-4">
	                                          <label style="width: 70px">用户Id:</label>  <input type="text" id="condition1"  class="form-control" style="width: 160px" placeholder="用户Id">
										</div>
											<div class="col-md-4">
	                                           <label style="width: 70px">用户号码:</label> <input type="text" id="condition2"  class="form-control" style="width: 160px" placeholder="用户号码">
										</div>
											<div class="col-md-4">
											<label style="width: 70px">用户姓名:</label>
	                                            <input type="text" id="condition3"  class="form-control" style="width: 160px" placeholder="用户姓名">
										</div>
                                  </div>
                                    <br/>
                                   <div class="row"  align="center">
										<div class="col-md-4">
	                                         <label style="width: 70px">用户Id:</label>  
									        <div class="input-group" style="width: 160px">
									          <input type="text" class="form-control form_datetime" id="addtime" name="addtime"  value="" placeholder="">
									          <span class="input-group-addon" id="basic-addon2"><span class="glyphicon glyphicon-time" aria-hidden="true"></span></span>
									        </div>
	                                          
          								</div>
											<div class="col-md-4">
											
	                                            <label style="width: 70px">用户Id:</label>  
									        <div class="input-group" style="width: 160px">
									          <input type="text" class="form-control form_datetime" id="addtime" name="addtime"  value="" placeholder="">
									          <span class="input-group-addon" id="basic-addon2"><span class="glyphicon glyphicon-time" aria-hidden="true"></span></span>
									        </div>
										
										</div>
											<div class="col-md-4">
											<label style="width: 70px">用户姓名:</label>
	                                            <input type="text" id="condition3"  class="form-control" style="width: 160px" placeholder="用户姓名">
										</div>
                                  </div>
                                  
                                  
                                    <br/>
                                   <div class="row" align="center">
                                    <button type="submit" class="btn btn-info">查询</button>
                                    </div>
                                </form>
                            </div>
                            <!-- /.box-body -->
                        </div>
                        <!-- /.box -->
                       

                    </div>
                    
                     <div class="box" id="listdetails">
                     <!-- 文章列表 -->
                        <form method="post" target="_self" action="" name="listForm">
                            <div class="box-body table-responsive" id="listDiv">
						
                                <s:property value="res" escape="false"/>
                            </div><!-- /.box-body -->
                        </form>
                    </div>

                </div>
            </div>

        </section><!-- /.content -->
    </aside><!-- /.right-side -->
</div><!-- ./wrapper -->
</body> 


<script type="text/javascript">

    //查询用户列表
    function searchUser() {
  
         listTable.filter['orderCreateTimeStart'] = '2017-01-01';
         listTable.filter['orderCreateTimeEnd'] = '2017-05-01';
         listTable.action = "<%=basePath%>/report/ajaxQueryOrderReport.action";

         listTable.loadList();
        // $("#listdetails").css('display':'block');
        
        $("#listDiv").listview('refresh');
    }

</script>


<head>
    <link href="../../css/bootstrap.min.css" rel="stylesheet" media="screen">
    <link href="../../css/bootstrap-datetimepicker.min.css" rel="stylesheet" media="screen">

    <script type="text/javascript" src="../../js/jquery.min.js" charset="UTF-8"></script>
    <script type="text/javascript" src="../../js/bootstrap.min.js" charset="UTF-8"></script>
    <script type="text/javascript" src="../../js/bootstrap-datetimepicker.min.js" charset="UTF-8"></script>
    <script type="text/javascript" src="../../js/locales/bootstrap-datetimepicker.zh-CN.js" charset="UTF-8"></script>

</head>


<script type="text/javascript">
    $('.form_datetime').datetimepicker({
        weekStart: 1,
        todayBtn: 1,
        autoclose: 1,
        todayHighlight: 1,
        startView: 2,
        forceParse: 0,
        showMeridian: 1,
        autoclose: true,
        format: 'yyyy-mm-dd hh:ii',
        language: 'zh-CN',
    });
</script>
</html>